<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
    <title>Document</title>
</head>

<body>
    <div id="box">
        <p>单个复选框</p>
        <input type="checkbox" v-model="checked">
        <label for="checkbox">选中状态:{{checked}}</label>
    </div>
</body>
<script>
    new Vue({
        el: '#box',
        data: {
            checked: false
        }
    })
</script>

</html>